package com.unohacha.qqj.fzdr.bean.homebean;

import java.util.List;

/**
 * 物流信息
 */

public class HomeAppLogisBean {

    /**
     * code : 1
     * message : 请求成功
     * data : {"total":4,"current_page":1,"last_page":1,"data":[{"id":122,"name":"呜呜呜","telephone":"18752365849","contact":"大姐姐睡觉睡觉","distance":6682.16,"route_start":"星桥街道\u2014","route_channel":"天津市辖区\u2014","route_end":"劝业场街道","traffic":"","attachment_id":"","company_add":"浙江省杭州市余杭区"},{"id":123,"name":"抢人头一样","telephone":"13689034888","contact":"帅哥哥","distance":6682.16,"route_start":"崇贤镇\u2014","route_channel":"重庆市辖区\u2014","route_end":"海滨镇","traffic":"","attachment_id":"","company_add":"浙江省杭州市余杭区日月光华"},{"id":126,"name":"测试","telephone":"15857176461","contact":"杨","distance":6682.16,"route_start":"临平街道\u2014","route_channel":"北京市辖区\u2014上海市辖区\u2014深圳市\u2014成都市\u2014","route_end":"花园口镇","traffic":"","attachment_id":"http://huafang.unohacha.com/uploads/admin/app/20180613/bd5bc058bc9885619af628f5e049b1f7.png","company_add":"浙江省杭州市余杭区德德"},{"id":125,"name":"我","telephone":"18537126590","contact":"我","distance":6682.17,"route_start":"临平街道\u2014","route_channel":"北京市辖区\u2014天津市辖区\u2014","route_end":"建北街道","traffic":"","attachment_id":"http://huafang.unohacha.com/uploads/admin/app/20180613/321276c7073e863af91d7aac2ec846ee.png","company_add":"浙江省杭州市余杭区测试"}]}
     */

    private int code;
    private String message;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 4
         * current_page : 1
         * last_page : 1
         * data : [{"id":122,"name":"呜呜呜","telephone":"18752365849","contact":"大姐姐睡觉睡觉","distance":6682.16,"route_start":"星桥街道\u2014","route_channel":"天津市辖区\u2014","route_end":"劝业场街道","traffic":"","attachment_id":"","company_add":"浙江省杭州市余杭区"},{"id":123,"name":"抢人头一样","telephone":"13689034888","contact":"帅哥哥","distance":6682.16,"route_start":"崇贤镇\u2014","route_channel":"重庆市辖区\u2014","route_end":"海滨镇","traffic":"","attachment_id":"","company_add":"浙江省杭州市余杭区日月光华"},{"id":126,"name":"测试","telephone":"15857176461","contact":"杨","distance":6682.16,"route_start":"临平街道\u2014","route_channel":"北京市辖区\u2014上海市辖区\u2014深圳市\u2014成都市\u2014","route_end":"花园口镇","traffic":"","attachment_id":"http://huafang.unohacha.com/uploads/admin/app/20180613/bd5bc058bc9885619af628f5e049b1f7.png","company_add":"浙江省杭州市余杭区德德"},{"id":125,"name":"我","telephone":"18537126590","contact":"我","distance":6682.17,"route_start":"临平街道\u2014","route_channel":"北京市辖区\u2014天津市辖区\u2014","route_end":"建北街道","traffic":"","attachment_id":"http://huafang.unohacha.com/uploads/admin/app/20180613/321276c7073e863af91d7aac2ec846ee.png","company_add":"浙江省杭州市余杭区测试"}]
         */

        private int total;
        private int current_page;
        private int last_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 122
             * name : 呜呜呜
             * telephone : 18752365849
             * contact : 大姐姐睡觉睡觉
             * distance : 6682.16
             * route_start : 星桥街道—
             * route_channel : 天津市辖区—
             * route_end : 劝业场街道
             * traffic : 
             * attachment_id : 
             * company_add : 浙江省杭州市余杭区
             */

            private int id;
            private String name;
            private String telephone;
            private String contact;
            private double distance;
            private String route_start;
            private String route_channel;
            private String route_end;
            private String traffic;
            private String attachment_id;
            private String company_add;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTelephone() {
                return telephone;
            }

            public void setTelephone(String telephone) {
                this.telephone = telephone;
            }

            public String getContact() {
                return contact;
            }

            public void setContact(String contact) {
                this.contact = contact;
            }

            public double getDistance() {
                return distance;
            }

            public void setDistance(double distance) {
                this.distance = distance;
            }

            public String getRoute_start() {
                return route_start;
            }

            public void setRoute_start(String route_start) {
                this.route_start = route_start;
            }

            public String getRoute_channel() {
                return route_channel;
            }

            public void setRoute_channel(String route_channel) {
                this.route_channel = route_channel;
            }

            public String getRoute_end() {
                return route_end;
            }

            public void setRoute_end(String route_end) {
                this.route_end = route_end;
            }

            public String getTraffic() {
                return traffic;
            }

            public void setTraffic(String traffic) {
                this.traffic = traffic;
            }

            public String getAttachment_id() {
                return attachment_id;
            }

            public void setAttachment_id(String attachment_id) {
                this.attachment_id = attachment_id;
            }

            public String getCompany_add() {
                return company_add;
            }

            public void setCompany_add(String company_add) {
                this.company_add = company_add;
            }
        }
    }
}
